<?php get_header(); ?>
<div id="content">
	<div id="slider">

				<?php 
				$shopme2011_promo1url = get_option('shopme2011_promo1url');
				$shopme2011_promo1img = get_option('shopme2011_promo1img');
				 
				if (($shopme2011_promo1url != "") && ($shopme2011_promo1img != "")) { ?>

				<a href="<?php echo $shopme2011_promo1url; ?>">
				<img src="<?php echo $shopme2011_promo1img; ?>" alt="promo" />
				</a>

				<?php } ?>  
				
				
				<?php 
				$shopme2011_promo2url = get_option('shopme2011_promo2url');
				$shopme2011_promo2img = get_option('shopme2011_promo2img');
				 
				if (($shopme2011_promo2url != "") && ($shopme2011_promo2img != "")) { ?>

				<a href="<?php echo $shopme2011_promo2url; ?>">
				<img src="<?php echo $shopme2011_promo2img; ?>" alt="promo" />
				</a>

				<?php } ?>  
				
				
				<?php 
				$shopme2011_promo3url = get_option('shopme2011_promo3url');
				$shopme2011_promo3img = get_option('shopme2011_promo3img');
				 
				if (($shopme2011_promo3url != "") && ($shopme2011_promo3img != "")) { ?>

				<a href="<?php echo $shopme2011_promo3url; ?>">
				<img src="<?php echo $shopme2011_promo3img; ?>" alt="promo" />
				</a>

				<?php } ?>
				
				
				
				<?php 
				$shopme2011_promo4url = get_option('shopme2011_promo4url');
				$shopme2011_promo4img = get_option('shopme2011_promo4img');
				 
				if (($shopme2011_promo4url != "") && ($shopme2011_promo4img != "")) { ?>

				<a href="<?php echo $shopme2011_promo4url; ?>">
				<img src="<?php echo $shopme2011_promo4img; ?>" alt="promo" />
				</a>

				<?php } ?>
							

		</div>
<div id="homepage_products">
<span class="title">
<?php 
$hp_title = get_option('shopme2011_hp_titleText');
if ($hp_title) {
	echo $hp_title;		
}else{
	echo 'New Arrivals';
}

?></span>
<ul>
<?php echo display_new_arrivals() ?>

</ul>
</div>

</div>

<?php get_sidebar();?>
<?php get_footer(); ?>